// 导入vue
import Vue from "vue";
// 导入vuex，并注
import Vuex from "vuex";
Vue.use(Vuex);

import cart from "./modules/cart";
import user from "./modules/user";

export default new Vuex.Store({
  modules: {
    cart,
    user,
  },
});
